package fristphase.day9_06.mysubmarinegame;

import javax.swing.*;

public class Bomb extends SeaObject{
    Bomb(int x, int y){
        super(20,20,x,y,3);
    }
    public void move(){
        y += speed;
    }
    public ImageIcon getImage(){
        return Images.bomb;
    }
    public boolean deleteBombJudge(){
        return y>World.HEIGHT;
    }
}
